package org.example.carousel.service.impl;


import org.example.carousel.mapper.CarouselMapper;
import org.example.carousel.service.CarouselService;
import org.example.model.domain.Carousel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CarouselServiceImpl implements CarouselService {
    @Autowired
     CarouselMapper carouselMapper;

    @Override
    public List<Carousel> findCarousel() {
        return carouselMapper.findCarousel();
    }
}
